package com.gs.netty.websocket.remoting;

import io.netty.buffer.ByteBuf;

/**
 * 调用接口
 */
public interface Invocation {

    /**
     * 获取要调用服务指令
     * @return
     */

      abstract void  setCommand(String command);
      abstract Integer  getRequestId();
      abstract String  getCommand();

      abstract String getPayload();

      abstract Invocation  create();


}
